package com.by.bean;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author: Fsw
 * @com.by.bean
 * @date 2025-02-21 16:32
 */
@Data
@ApiModel("字典表")
public class Dictionary {
   int id;

   @NotBlank(message = "编码不能为空！")
   String code ;

   @NotBlank(message ="name不能为空！")
   String  name ;
   int pid;
   int  sorts;
}
